package com.situ.vivamarket.service;

import com.github.pagehelper.Page;

import com.situ.vivamarket.model.Member;
import com.situ.vivamarket.model.search.MemberSearchBean;

import java.util.List;

public interface MemberService {
    List<Member> getAllMembers(MemberSearchBean msb, Page<?> page);


    int deleteByIds(Integer[] ids);

    boolean add(Member member);

    Member findById(Integer id);

    Member findByAccount(String account);

    boolean update(Member member);
}
